
.wrap_scrollImg {
  margin-top: 15px;
  width: inherit;
  //background-color: #2C9806;
  overflow: hidden;
  position: relative;

  &:hover {
    .wrap_left_right_icon span {
      display: inline-block;
    }
  }

  .wrap_left_right_icon {
    position: absolute;
    width: 100%;

    span {
      cursor: pointer;
      z-index: 11;
      position: absolute;
      display: none;
      background-color: rgba(0, 0, 0, 0.3);
      top: 0;
      bottom: 0;
      margin: auto;
      height: 44px;
      line-height: 50px;
      width: 26px;
      text-align: center;
      color: white;
      transition: 0.2s;

      &:hover {
        background-color: rgba(0, 0, 0, 0.7);
      }

      &::before {
        content: '';
        background: url("../static/jiantou.png") no-repeat;
        height: 20px;
        width: 20px;
        position: absolute;
        background-size: 17px;
        bottom: 10px;
        right: 3px;
      }

    }

    .left_icon {
      left: 0;
      border-radius: 0 26px 26px 0;
    }

    .right_icon {
      right: 0;
      border-radius: 26px 0 0 26px;

      &::before {
        transform: rotateY(180deg);
      }
    }

  }


  ul {
    z-index: 10;
    height: inherit;
    white-space: nowrap;
    position: absolute;
    //width: 104%;
    transition: all 1s ease-in-out 0s;
    margin-right: -1%; //设置ul偏右-用来抵消li元素右边距1%导致的缺口

    li {
      height: 100%;
      display: inline-block;
      overflow: hidden;

      .wrap_img {
        border-radius: 6px;
        overflow: hidden;
        cursor: pointer;
        width: 100%;
        background: red;

        img {
          transition: all 0.3s;
          width: 100%;
          //height: calc(100% - 44px);
          object-fit: cover;
        }
      }

      &:hover {
        img {
          transform: scale(1.07);
        }
      }
    }
  }

  .wrap_text {
    margin-top: 5px;
    width: 100%;
    max-height: 44px;
    //height: 44px;
    overflow: hidden;
    z-index: 10;

    .title {
      cursor: pointer;

      a {
        height: 22px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        max-height: 22px;
        line-height: 22px;
        font-size: 16px;
        display: block;
        color: #0a0909;
      }
    }

    .desc {
      color: #959595;
      margin-top: 4px;
      height: 20px;
      line-height: 20px;
      font-size: 14px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }
}

/*通用样式*/
html, body, #root {
  height: 100%;
}


li {
  list-style: none;
}

body, ul, p {
  padding: 0;
  margin: 0;
}
